//
//  MYGHealthManagementFoodModel.swift
//  MYGrow
//
//  Created by 林矗 on 2024/3/9.
//

import UIKit

class MYGHealthManagementFoodModel: MYGHealthManagementRowModel {
    var todayIn: String = ""
    var lastDayCompary: String = ""
    var carbon: String = ""
    var fat: String = ""
    var protein: String = ""
    override var action: (() -> ()) {
        return {
            
        }
    }
    init(todayIn: String, lastDayCompary: String, carbon: String, fat: String, protein: String, delegate: MYGHealthManagementRowModelDelegate?) {
        self.todayIn = todayIn
        self.lastDayCompary = lastDayCompary
        self.carbon = carbon
        self.fat = fat
        self.protein = protein
        super.init(type: .food)
        self.delegate = delegate
    }
    
    init() {
        super.init(type: .food)
    }
}
